package com.example.springbootdemo.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class Config {

    @Value("${app.author}")
    private String author;

    @Value("${app.desc}")
    private String desc;

    @Value("${app.env}")
    private String env;

    @Value("${app.name}")
    private String name;

    @Value("${app.version}")
    private String version;
}
